function arc() {
    var buffer=0;
}
arc.centroid = function() {
    var r = 2,
        a = 4;
    return [Math.cos(a) * r, Math.sin(a) * r];
  };
